package day17.feifei;

import java.io.*;

public class Demo03_OutputStreamWriter {
    public static void main(String[] args) throws IOException {
        File file=new File("D:\\file\\work\\a.txt");
        //字符输出流对象
//        FileWriter fw=new FileWriter(file);
        FileOutputStream outputStream=new FileOutputStream(file,true);
        OutputStreamWriter osw=new OutputStreamWriter(outputStream);
        osw.write("今天不打da鱼");
        osw.flush();
        osw.close();
    }



}
